﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T3
{
    public class Subscriber
    {
        //订阅者姓名
        private String name;

        public Subscriber(String name)
        {
            this.name = name;
        }


        public void Read()
        {
            Console.WriteLine($"{name}阅读订阅的消息！");
        }

    }
}
